namespace gata {
	namespace utils {
//=========================================================================================================================
#define	TGA_ERROR_FILE_OPEN				-5
#define TGA_ERROR_READING_FILE			-4
#define TGA_ERROR_INDEXED_COLOR			-3
#define TGA_ERROR_MEMORY				-2
#define TGA_ERROR_COMPRESSED_FILE		-1
#define TGA_OK							 0

typedef struct {
	int status;
	unsigned char type, pixelDepth;
	short int width, height;
	unsigned char *imageData;
} tgaInfo;

tgaInfo* tgaLoad(const char *filename);

void tgaDestroy(tgaInfo *info);
//=========================================================================================================================
	}
}
